package com.ruoyi.storeIndex.mapper;

import com.ruoyi.storeIndex.domain.Event;
import com.ruoyi.storeIndex.domain.Publish;
import org.apache.ibatis.annotations.Mapper;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Mapper
public interface StoreStatisticsMapper {

    Integer getPendingAuthNum(Long deptId);

    Integer getSurveyNum(Long deptId);

    Integer getCompleteNum(Long deptId);

    BigDecimal getStoreBalance(Long deptId);

    List<Publish> getAnnouncement(Long deptId);

    List<Event> getEventAnnouncement(Long deptId);

    Integer pendingAuthNumAdd(Long deptId);

    Integer surveyNumAdd(Long deptId);

    Integer completeNumAdd(Long deptId);

    BigDecimal getLastMonthBalance(Long storeId);

    BigDecimal getThisMonthBalance(Long storeId);

    Long selectStoreId(Long deptId);
}
